package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AccountCancellationRequest {

    @NotBlank(message ="手机号不能为空")
    @ApiModelProperty("用户账号(手机号)")
    private String userAccount;

    @NotBlank(message ="密码不能为空")
    @ApiModelProperty("密码")
    private String pwd;

    @NotNull(message = "验证码不能为空")
    @ApiModelProperty("验证码id")
    private Long smsId;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String codes;
}
